<% content_for(:title, _("Hosts")) %>
<% description = _("You don't have any visible hosts. Hosts can be added and provisioned from Foreman, or configured to report to Foreman.")%>
<% action = [{ :title => _("Create Host"), :url => new_host_path }, {:title => _("Register Host"), :url => register_hosts_path }]  if authorized_for(:action => :new)%>
<%= react_component('EmptyState', {
                                    :icon => 'tasks',
                                    :header => _('Hosts'),
                                    :description => description,
                                    :documentation => { :url => documentation_url("4.4Provisioning") },
                                    :secondaryActions => action
                                  }) %>
